//
//  UIImage+Extension.h
//
//  Created by wang on 15/5/18.
//  Copyright (c) 2015年 Bitenergy. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (Extension)
+ (UIImage *)imageWithColor:(UIColor *)color;
+ (UIImage *)imageWithColor:(UIColor *)color WithW:(CGFloat)w whthH:(CGFloat)h;
/**
 *  根据图片名，返回一张能够自由拉伸的图片
 */
+(UIImage *)resizedImage:(NSString *) name;

+(UIImage *)resized9Image:(NSString *) name;

- (UIImage*)transformWidth:(CGFloat)width
                    height:(CGFloat)height;

/**修正图片方向*/
+ (UIImage *)fixOrientation:(UIImage *)aImage;

@end
